/* ----------------------------------------------------------------------------
* File: attach_handler_impl.h
*
* Desc: Attach handler implementation for Skype instances
*
* Created: 04/05/2011, by Alexey Korshunov
* ---------------------------------------------------------------------------- */
#ifndef _ATTACH_HANDLER_IMPL_H_
#define _ATTACH_HANDLER_IMPL_H_

#include "api_command_dispatcher.h"
#include <windows.h>
#include <winsvc.h>


namespace SkypePlugin
{
	class AttachHandlerImpl 
		: public SkypeProtection::APIAttachEventHandler
	{
	public:
		explicit AttachHandlerImpl(SERVICE_STATUS_HANDLE Handle);
		virtual void OnAttaching();

	private:
		SERVICE_STATUS_HANDLE m_Handle;
		DWORD m_CheckPoint;
	};
}

#endif // _ATTACH_HANDLER_IMPL_H_